/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.org.waff.cm;

import java.io.Serializable;

/**
 *
 * @author greg
 */
public class CMSwitch implements Serializable{
    
    public static final String VIEW_FOLDER="f";
    public static final String VIEW_FOLDER_LIST="fl";
    public static final String VIEW_DOCUMENT="d";
    public static final String VIEW_COMENT_LIST="cl";
    public static final String VIEW_COMMENT="c";
    
    private String path;
    private String type;
    private String docid;
    private String commentid;
    private String language;
    private String action;
    private String view;
    
    public CMSwitch(){
        language="en";
        path="/";
        view=VIEW_FOLDER_LIST;
    }

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the docid
     */
    public String getDocid() {
        return docid;
    }

    /**
     * @param docid the docid to set
     */
    public void setDocid(String docid) {
        this.docid = docid;
    }

    /**
     * @return the language
     */
    public String getLanguage() {
        return language;
    }

    /**
     * @param language the language to set
     */
    public void setLanguage(String language) {
        this.language = language;
    }

    /**
     * @return the action
     */
    public String getAction() {
        return action;
    }

    /**
     * @param action the action to set
     */
    public void setAction(String action) {
        this.action = action;
    }

    /**
     * @return the commentid
     */
    public String getCommentid() {
        return commentid;
    }

    /**
     * @param commentid the commentid to set
     */
    public void setCommentid(String commentid) {
        this.commentid = commentid;
    }

    /**
     * @return the view
     */
    public String getView() {
        return view;
    }

    /**
     * @param view the view to set
     */
    public void setView(String view) {
        this.view = view;
    }
    
}
